Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3 #15

Merged
merged 6 commits into from
Sep 5, 2024
Merged

Release 0.3 #15

merged 6 commits into from
Sep 5, 2024

Conversation

crazybolillo
Copy link
Owner

This release is aimed at improving the CRUD experience for endpoints and providing everything required to set a minimal frontend UI supported by the API.

All data about a single endpoint may now be retrieved, to support this
feature sids are provided when listing endpoints.
Besides this being customary, it saves consumers a roundtrip if they
want to verify the state of the created resource.
Deleting was impossible after adding extension mapping support since
foreign keys were referencing the endpoint. The database structure was
updated to handle such cases and delete extensions on CASCADE. The
implementation was also changed to use endpoint sid instead of ID.
@crazybolillo crazybolillo force-pushed the release-0.3 branch 2 times, most recently from 82c7638 to 0b991d7 Compare August 22, 2024 23:18
@crazybolillo
Copy link
Owner Author

Closes #16.

@crazybolillo crazybolillo linked an issue Aug 22, 2024 that may be closed by this pull request
Endpoints may now be updated (patched). It is important to note that
because Go's JSON marshalling can't detect between omitted fields and
fields set to null, they are treated as the same (ommited). Once created
only text fields may be set to NULL by updating the endpoint with an
empty string.

Realm was also removed from the API since there is no clear benefit at
the moment. All use cases so far use the default value for it.
@crazybolillo crazybolillo force-pushed the release-0.3 branch 6 times, most recently from ea05178 to aa80b4b Compare August 25, 2024 20:58
@crazybolillo crazybolillo linked an issue Aug 30, 2024 that may be closed by this pull request
@crazybolillo crazybolillo force-pushed the release-0.3 branch 3 times, most recently from 987a3f8 to 2cf6f93 Compare September 1, 2024 17:24
@crazybolillo crazybolillo merged commit 5542f40 into main Sep 5, 2024
12 checks passed
@crazybolillo crazybolillo deleted the release-0.3 branch September 5, 2024 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRUD for endpoints on eryth with unit tests Support accountcode in PJSIP endpoints
1 participant